 |
API Documentation
|
|
void addComponent(Component *component, const nkMaths::Rectangle &area, RELATIVE_POSITION position, Component *relativeTo)
@ UNDER_LEFT
Under left (diagonal) of the anchor.
@ OVER_LEFT
Top left (diagonal) of the anchor.
Component * getComponentAt(unsigned int index)
Represents a layout to organize sub-windows in a window.
Definition: Layout.h:12
virtual void setParentComponent(Component *parent) override
virtual void exportComponentsNodeEntry(nkExport::Node *rootNode) override
Base class for any graphical component.
Definition: Component.h:12
Implements a layout positioning its children components relative to each other.
Definition: RelativeLayout.h:31
@ UNKNOWN
By default, when unknown. Not relative to anything.
A node in the tree structure representing the data to export / import.
Definition: Node.h:42
@ OVER
Over, top of the anchor.
virtual void removeComponent(Component *component) override
Represents a 2D rectangle.
Definition: Rectangle.h:12
virtual void update() override
Encompasses all API of component NilkinsWinUi.
Definition: Button.h:7
@ OVER_RIGHT
Top right (diagonal) of the anchor.
RELATIVE_POSITION
Represents different positions, compared to an anchor.
Definition: RelativeLayout.h:12
virtual void processComponentsNodeEntry(nkExport::Node *rootNode) override
@ UNDER_RIGHT
Under right (diagonal) of the anchor.
void addComponent(Component *component, const nkMaths::Rectangle &area)